home *** CD-ROM | disk | FTP | other *** search
/ Champak 128 / Vol 128 (Damaged).iso / games / fire_it_.swf / scripts / __Packages / #70.as < prev    next >
Encoding:
Text File  |  2011-03-26  |  3.4 KB  |  123 lines

  1. class ┬º#70┬º extends ┬º#21┬º
  2. {
  3.    var ┬º#33┬º = 0;
  4.    var ┬º#90┬º = 1;
  5.    var ┬º#61┬º = 2;
  6.    var ┬º#233┬º = 3;
  7.    var ┬º#162┬º = 4;
  8.    var ┬º#7┬º = 0;
  9.    var ┬º#40┬º = 1;
  10.    var ┬º#173┬º = 0;
  11.    var ┬º#378┬º = 50;
  12.    var ┬º#287┬º = false;
  13.    function ┬º#70┬º()
  14.    {
  15.       super();
  16.    }
  17.    function ┬º#8┬º(┬º#97┬º)
  18.    {
  19.       this["#378"] = 80;
  20.       this["#173"] = 0;
  21.       switch(┬º#97┬º)
  22.       {
  23.          case this["#33"]:
  24.             this.gotoAndStop("#151");
  25.             break;
  26.          case this["#90"]:
  27.             this["#40"] = this["#40"] + 1;
  28.             if(this["#40"] > 1)
  29.             {
  30.                this["#40"] = 0;
  31.                if(random(6) < 2)
  32.                {
  33.                   eval("#1").getInstance()["#20"](eval("#1")["#201"]);
  34.                   this.gotoAndStop("Score " + eval("#14").getRandom(1,3));
  35.                }
  36.                break;
  37.             }
  38.             this["#8"](this["#33"]);
  39.             return undefined;
  40.             break;
  41.          case this["#61"]:
  42.             this["#40"] = this["#40"] + 1;
  43.             if(this["#40"] > 1)
  44.             {
  45.                this["#40"] = 0;
  46.                if(random(6) < 2)
  47.                {
  48.                   eval("#1").getInstance()["#20"](eval("#1")["#281"]);
  49.                   if(random(2) == 0)
  50.                   {
  51.                      this.gotoAndStop("Score " + eval("#14").getRandom(1,3));
  52.                   }
  53.                   else
  54.                   {
  55.                      this.gotoAndStop("Angry " + eval("#14").getRandom(1,3));
  56.                   }
  57.                }
  58.             }
  59.             break;
  60.          case this["#233"]:
  61.             this["#40"] = this["#40"] + 1;
  62.             if(_root["#4"]["#60"]["#236"]())
  63.             {
  64.                this["#8"](this["#33"]);
  65.                return undefined;
  66.             }
  67.             if(_root["#4"]["#44"] == 5)
  68.             {
  69.                eval("#1").getInstance()["#20"](eval("#1")["#270"]);
  70.                if(random(2) == 0)
  71.                {
  72.                   eval("#1").getInstance()["#20"](eval("#1")["#244"]);
  73.                   this.gotoAndStop("Score 2");
  74.                }
  75.             }
  76.             else if(_root["#4"]["#44"] == 15)
  77.             {
  78.                eval("#1").getInstance()["#20"](eval("#1")["#253"]);
  79.                this.gotoAndStop("Score 2");
  80.             }
  81.             else
  82.             {
  83.                if(this["#40"] <= 1)
  84.                {
  85.                   this["#8"](this["#33"]);
  86.                   return undefined;
  87.                }
  88.                this["#40"] = 0;
  89.                if(_root["#11"]["#206"])
  90.                {
  91.                   if(random(6) < 2)
  92.                   {
  93.                      eval("#1").getInstance()["#20"](eval("#1")["#265"]);
  94.                      this.gotoAndStop("Score 2");
  95.                   }
  96.                }
  97.                else if(random(6) < 2)
  98.                {
  99.                   eval("#1").getInstance()["#20"](eval("#1")["#201"]);
  100.                   this.gotoAndStop("Score " + eval("#14").getRandom(1,3));
  101.                }
  102.             }
  103.             break;
  104.          case this["#162"]:
  105.       }
  106.       this["#7"] = ┬º#97┬º;
  107.    }
  108.    function update()
  109.    {
  110.       this["#173"] = this["#173"] + 1;
  111.    }
  112.    function ┬º#425┬º()
  113.    {
  114.       this["#287"] = true;
  115.       this["#8"](this["#33"]);
  116.    }
  117.    function ┬º#54┬º()
  118.    {
  119.       this["#287"] = true;
  120.       this["#8"](this["#33"]);
  121.    }
  122. }
  123.